package com.qfedu.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;
/**
 * projectName: logistics
 * author: CGY
 * time: 2020/10/6
 * description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name="driverinfo")
public class Driverinfo {

  @Id
  private String id;

  private String address;

  @Column(name="allow_carry_volume")
  private Double allowCarryVolume;

  @Column(name="allow_carry_weight")
  private Double allowCarryWeight;

  @DateTimeFormat(pattern = "yy-MM-dd")
  private Date birthday;

  @Column(name="biz_licence")
  private String bizLicence;

  @Column(name="car_dept")
  private String carDept;

  @Column(name="car_dept_tel")
  private String carDeptTel;

  @Column(name="car_frame_no")
  private String carFrameNo;

  @Column(name="car_length")
  private String carLength;

  @Column(name="car_no")
  private String carNo;

  @Column(name="car_type")
  private String carType;

  @Column(name="car_width")
  private String carWidth;

  @Column(name="company_car")
  private Boolean companyCar;

  @Column(name="drive_licence")
  private String driveLicence;

  @Column(name="driver_name")
  private String driverName;

  @Column(name="engine_no")
  private String engineNo;

  private String gender;

  @Column(name="goods_height")
  private String goodsHeight;

  @Column(name="id_card")
  private String idCard;

  @Column(name="insurance_card")
  private String insuranceCard;

  private String phone;

  private String remark;

  @Column(name="run_licence")
  private String runLicence;

  private String state;




}
